# Maintainer:
# Contributor: Federico Cinelli <cinelli@aur.archlinux.org>

pkgname=screenfetch
pkgver=3.9.1
pkgrel=1
pkgdesc="CLI Bash script to show system/theme info in screenshots"
arch=('any')
url="https://github.com/KittyKatt/screenFetch"
license=('GPL')
depends=('bash' 'bc' 'xorg-xdpyinfo' 'xorg-xprop')
makedepends=('git')
optdepends=('scrot: to take screenshot')
source=("git+https://github.com/KittyKatt/screenFetch.git#tag=v$pkgver")
md5sums=('SKIP')

package() {
	cd screenFetch
	install -Dm755 "screenfetch-dev" "$pkgdir/usr/bin/screenfetch"
	install -Dm644 "screenfetch.1" "$pkgdir/usr/share/man/man1/screenfetch.1"
}
